package com.example.tse.rbhttpservice.service.common.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 每次应用启动调用该接口，获取系统当前时间戳，以便前端计算时间偏差，用于倒计时
 * @author wliu
 * edit tse
 */
public class CommonGetTimestampResponse extends RudderResponse{
    
    private String timestamp = "";
		
	
    /**
     * @return timestamp
     */	
    public String getTimestamp() { 
	    return this.timestamp;
    };
	
	/**
     * @return timestamp
     */	
    public void setTimestamp(String timestamp) { 
        this.timestamp = timestamp;
    };
    
	
        
    public static void filter(CommonGetTimestampResponse common) {
        if (common.getTimestamp() == null) {
            common.setTimestamp("");
        }
    }
}
